import request from '@/axios';

export const ping = (data: any) => {
  return request.post({
    url: '/ping',
    data
  });
};

export const pong = (data: any) => {
  return request.get({
    url: '/pong',
    params: data
  });
};
